home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / StackToolsƒ / HyperTalkRefer / Lock⁄Unlock / cards.xml < prev    next >
Encoding:
Text File  |  1992-08-13  |  3.7 KB  |  117 lines

  1. card_2849.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2849</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_2374.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2608</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_2239.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>button</type>
  16.         <visible> <true /> </visible>
  17.         <reserved5> 0 </reserved5>
  18.         <reserved4> 0 </reserved4>
  19.         <reserved3> 0 </reserved3>
  20.         <reserved2> 0 </reserved2>
  21.         <reserved1> 0 </reserved1>
  22.         <enabled> <true /> </enabled>
  23.         <rect>
  24.             <left>95</left>
  25.             <top>77</top>
  26.             <right>155</right>
  27.             <bottom>95</bottom>
  28.         </rect>
  29.         <style>shadow</style>
  30.         <showName> <true /> </showName>
  31.         <highlight> <false /> </highlight>
  32.         <autoHighlight> <false /> </autoHighlight>
  33.         <sharedHighlight> <true /> </sharedHighlight>
  34.         <family>0</family>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>center</textAlign>
  38.         <font>Chicago</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <name>Lock</name>
  42.         <script>on mouseUp
  43. repeat with x=1 to the number of cards
  44. go card x
  45. repeat with y=1 to the number of card fields
  46. set lockText of card field y to true
  47. end repeat
  48. end repeat
  49. repeat with x=1 to the number of backgrounds
  50. go first card of background x
  51. repeat with y=1 to the number of fields
  52. set lockText of field y to true
  53. end repeat
  54. end repeat
  55.  
  56. end mouseUp
  57. </script>
  58.     </part>
  59.     <part>
  60.         <id>2</id>
  61.         <type>button</type>
  62.         <visible> <true /> </visible>
  63.         <reserved5> 0 </reserved5>
  64.         <reserved4> 0 </reserved4>
  65.         <reserved3> 0 </reserved3>
  66.         <reserved2> 0 </reserved2>
  67.         <reserved1> 0 </reserved1>
  68.         <enabled> <true /> </enabled>
  69.         <rect>
  70.             <left>340</left>
  71.             <top>77</top>
  72.             <right>402</right>
  73.             <bottom>96</bottom>
  74.         </rect>
  75.         <style>shadow</style>
  76.         <showName> <true /> </showName>
  77.         <highlight> <false /> </highlight>
  78.         <autoHighlight> <false /> </autoHighlight>
  79.         <sharedHighlight> <true /> </sharedHighlight>
  80.         <family>0</family>
  81.         <titleWidth>0</titleWidth>
  82.         <icon>0</icon>
  83.         <textAlign>center</textAlign>
  84.         <font>Chicago</font>
  85.         <textSize>12</textSize>
  86.         <textStyle>plain</textStyle>
  87.         <name>Unlock</name>
  88.         <script>on mouseUp
  89. repeat with x=1 to the number of cards
  90. go card x
  91. repeat with y=1 to the number of card fields
  92. set lockText of card field y to false
  93. end repeat
  94. end repeat
  95. repeat with x=1 to the number of backgrounds
  96. go first card of background x
  97. repeat with y=1 to the number of fields
  98. set lockText of field y to false
  99. end repeat
  100. end repeat
  101. end mouseUp
  102. </script>
  103.     </part>
  104.     <part>
  105.         <id>3</id>
  106.         <type>field</type>
  107.         <visible> <true /> </visible>
  108.         <dontWrap> <false /> </dontWrap>
  109.         <dontSearch> <false /> </dontSearch>
  110.         <sharedText> <false /> </sharedText>
  111.         <fixedLineHeight> <true /> </fixedLineHeight>
  112.         <autoTab> <false /> </autoTab>
  113.         <lockText> <true /> </lockText>
  114.         <rect>
  115.             <left>38</left>
  116.             <top>120</top>
  117.             <right>468</right>
  118.             <bottom>318</bottom>
  119.         </rect>
  120.         <style>transparent</style>
  121.         <autoSelect> <false /> </autoSelect>
  122.         <showLines> <false /> </showLines>
  123.         <wideMargins> <true /> </wideMargins>
  124.         <multipleLines> <false /> </multipleLines>
  125.         <reservedFamily> 0 </reservedFamily>
  126.         <titleWidth>0</titleWidth>
  127.         <icon>0</icon>
  128.         <textAlign>left</textAlign>
  129.         <font>Geneva</font>
  130.         <textSize>12</textSize>
  131.         <textStyle>plain</textStyle>
  132.         <textHeight>16</textHeight>
  133.         <name></name>
  134.         <script></script>
  135.     </part>
  136.     <content>
  137.         <layer>card</layer>
  138.         <id>3</id>
  139.         <text>Copy these buttons to any stack...
  140.  
  141. Click "Lock" to lock the text in all fields in the stack.
  142.  
  143. Click "Unlock" to unlock all fields within the stack.
  144.  
  145. </text>
  146.     </content>
  147.     <name></name>
  148.     <script></script>
  149. </card>
  150.  
  151.  
  152.